package com.maxvision.mybatis.vo;

import com.google.errorprone.annotations.NoAllocation;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.checkerframework.checker.units.qual.A;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 学生接收Vo
 *
 * @author HuangRongFu
 * @date 2022/10/17
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class StudentVo implements Serializable {
    
    @NotBlank(message = "学生姓名不能为空")
    private String name;
    
    private int age;
    
    //@NotBlank(message = "学生卡号不能为空")
    private String studentCard;
    
}
